package com.bharat.matriService.services;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.bharat.matriService.dao.CommonDao;
import com.bharat.matriService.model.Enumerations;

public class CommonServices implements Serializable{

	private static final long serialVersionUID = 3633146302814598625L;

	// @Autowired
	private CommonDao commonDao;
	
	private CommonDao getCommonDao() {
		return commonDao;
	}
	
	public void setCommonDao(CommonDao commonDao) {
		this.commonDao = commonDao;
	}
	
	public List<Enumerations> getEnumeration(String enumGroup){
		
		List<Enumerations> lst = new ArrayList<Enumerations>();
		System.out.println("commonDao : "+commonDao);
		lst = commonDao.getEnumeration(enumGroup);
		return lst;
	}
}
